﻿namespace SRM.Core.Models.Base
{
    public class PagerModelInput
    {
        public PagerModelInput()
        {
            Pagesize = 5;
            PageIndex = 1;
        }
        public int PageIndex { get; set; }
        
        /// <summary>
        /// 总页数
        /// </summary>
        public int PageCount { get; set; }

        /// <summary>
        /// 数据总数
        /// </summary>
        public int TotalCount { get; set; }

        /// <summary>
        /// 显示页码起始位
        /// </summary>
        public int PageStart { get; set; }

        /// <summary>
        /// 显示页码终止位
        /// </summary>
        public int PageEnd { get; set; }

        /// <summary>
        /// 每页大小
        /// </summary>
        public int Pagesize { get; set; }

        public string FilterText { get; set; }
    }
}